package domian;

import lombok.Data;
/**
 * 收藏分页查询
 */
import java.util.List;
@Data
public class PageBean {
    private Integer totalCount;     //总条数  总关注数
    private Integer totalPage;      //总页数  总粉丝数
    private Integer sunPage;        //展现关注的总页数
    private List<?> pageInfo;  //核心数据

    public PageBean() {
    }

    public PageBean(List<?> pageInfo) {
        this.pageInfo = pageInfo;
    }

    public PageBean(Integer totalCount, Integer totalPage, List<?> pageInfo) {
        this.totalCount = totalCount;
        this.totalPage = totalPage;
        this.pageInfo = pageInfo;
    }

    public PageBean(Integer totalCount, Integer totalPage, Integer sunPage, List<?> pageInfo) {
        this.totalCount = totalCount;
        this.totalPage = totalPage;
        this.sunPage = sunPage;
        this.pageInfo = pageInfo;
    }
}
